home *** CD-ROM | disk | FTP | other *** search
-
-
-
- FFFFccccnnnnttttllll((((3333)))) FFFFccccnnnnttttllll((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- Fcntl - load the C Fcntl.h defines
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- use Fcntl;
- use Fcntl qw(:DEFAULT :flock);
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- This module is just a translation of the C _f_n_c_t_l._h file. Unlike the old
- mechanism of requiring a translated _f_n_c_t_l._p_h file, this uses the hhhh2222xxxxssss
- program (see the Perl source distribution) and your native C compiler.
- This means that it has a far more likely chance of getting the numbers
- right.
-
- NNNNOOOOTTTTEEEE
- Only #define symbols get translated; you must still correctly pack up
- your own arguments to pass as args for locking functions, etc.
-
- EEEEXXXXPPPPOOOORRRRTTTTEEEEDDDD SSSSYYYYMMMMBBBBOOOOLLLLSSSS
- By default your system's F_* and O_* constants (eg, F_DUPFD and O_CREAT)
- and the FD_CLOEXEC constant are exported into your namespace.
-
- You can request that the _f_l_o_c_k() constants (LOCK_SH, LOCK_EX, LOCK_NB and
- LOCK_UN) be provided by using the tag :flock. See the _E_x_p_o_r_t_e_r manpage.
-
- You can request that the old constants (FAPPEND, FASYNC, FCREAT, FDEFER,
- FEXCL, FNDELAY, FNONBLOCK, FSYNC, FTRUNC) be provided for compatibility
- reasons by using the tag :Fcompat. For new applications the newer
- versions of these constants are suggested (O_APPEND, O_ASYNC, O_CREAT,
- O_DEFER, O_EXCL, O_NDELAY, O_NONBLOCK, O_SYNC, O_TRUNC).
-
- Please refer to your native _f_c_n_t_l() and _o_p_e_n() documentation to see what
- constants are implemented in your system.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-